package CommandesAlpha;
import editeur.EditeurAlpha;
import Commande.Commande;
import IHM.IHM_addon_Alpha;


public class open_macro implements Commande {

	private EditeurAlpha edit;
	private IHM_addon_Alpha ihm;

public open_macro(EditeurAlpha ed,IHM_addon_Alpha i){
	edit=ed;
	ihm=i;
}
public void execute( )
{	
	ihm.debog("Commandes.open_macro");
	String name=ihm.getMacroName();
	if(name!=null){
	edit.openMacro(name);
	}
//	

}
public String toString(){
	return "open_macro";
}

}
